package it.mauriziobasile.andoid.aub.utils;

import java.io.Serializable;
import java.util.Date;

public class CacheObj implements Serializable {
    public CacheObj(Date timestamp, Serializable object) {
        this.timestamp = timestamp;
        this.object = object;
    }

    private static final long serialVersionUID = 860062710269956950L;

    private Date timestamp;

    private Serializable object;

    public Serializable getObject() {
        return object;
    }

    public void setObject(Serializable object) {
        this.object = object;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }
}
